#include <unistd.h>
#include "Cook.hpp"

namespace pizzeria {

Cook::Cook() {

}

Cook::~Cook() {

}

void Cook::CookPizza(const Pizza &pizza) const {
  std::cout << "Cooking pizza..." << std::endl;
  usleep(pizza.GetPizzaRecipe().GetCookingTime());
  std::cout << "Done" << std::endl;
}

} /* !namespace pizzeria */
